//***********************************************************************
//	PP2_3.java 		Author: GK
//
//	Enter two floating point Numbers and output their sum, 
//	difference and product.
//***********************************************************************

import java.util.Scanner;

public class PP2_3
{
	public static void main(String[] args)
	{
		float a,b;
		float A,B,C;
		
		Scanner scan = new Scanner(System.in);

		System.out.println("输入两个浮点数：");
		a = scan.nextFloat();
		b = scan.nextFloat();

		A = a + b;
		B = a - b;
		C = a * b;
		System.out.println("和是：" + A);
		System.out.println("差是：" + B);
		System.out.println("积是：" + C);
	}
}
